package com.wkbb.basic.service;

import java.util.List;

public interface WebankUtilService {
    String addGroup(String groupNo, String groupName, Integer groupType, String remark, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String modifyGroup(String groupNo, String groupName, Integer groupType, String remark, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String delGroup(String groupNo, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String addPerson(String userId, String name, String showName, String idType, String idNo, String phoneNo, String photoStr, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String modifyPerson(String userId, String name, String showName, String idType, String idNo, String phoneNo, String photoStr, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String delPerson(String userId, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String setGroups(String userId, List<Object> groupNoList, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String addDevice(String deviceNo, String deviceName, Integer liveSwitch, String location, String remark, List<Object> groupNoList, boolean isRetry, String webankAppid, String webankSecret, Long orgId,Integer cameraType , Integer cameraTypeSwitch);

    String modifyDevice(String deviceNo, String deviceName, Integer liveSwitch, String location, String remark, String status, String statusSwitch, List<Object> groupNoList, boolean isRetry, String webankAppid, String webankSecret, Long orgId,Integer cameraType , Integer cameraTypeSwitch);

    String batchModifyDevice(String deviceNo, Integer cameraType, Integer cameraTypeSwitch, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String getDeviceInfo(String deviceNo, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String delDevice(String deviceNo, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    String getAPPID(String appNo, boolean isRetry, String webankAppid, String webankSecret, Long orgId, String appName, short serviceType, String webankOrgId );

    String searchAPPID(String appNo, boolean isRetry, String webankAppid, String webankSecret, Long orgId , String webankOrgId );

    String searchFace(String image, String deviceNo, List<Object> groupNoList, boolean isRetry, String webankAppid, String webankSecret, Long orgId);

    List<Object> manageGroupList(List<Object> groupNoList);

    String getSignTicket(String webankAppid, String webankSecret, Long orgId);

    String getAccessToken(String webankAppid, String webankSecret, Long orgId);
}
